package com.opensource.svgaplayer.utils;

/**
 * ex.
 *
 * @author wl
 * @since 2021-06-28
 */
public class SVGARect {
    private final double x;
    private final double y;
    private final double width;
    private final double height;

    /**
     * getX
     *
     * @return double
     */
    public final double getX() {
        return this.x;
    }

    /**
     * getY
     *
     * @return double
     */
    public final double getY() {
        return this.y;
    }

    /**
     * getWidth
     *
     * @return double
     */
    public final double getWidth() {
        return this.width;
    }

    /**
     * getHeight
     *
     * @return double
     */
    public final double getHeight() {
        return this.height;
    }

    /**
     * SVGARect
     *
     * @param x      double
     * @param y      double
     * @param width  double
     * @param height double
     */
    public SVGARect(double x, double y, double width, double height) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }
}
